﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BuildPlannerLib.Buildings
{
    // Derived class of Production for CC/Nexus/Hatch and all upgraded versions
    public class IndividualMainBuilding : IndividualBuilding
    {
        // Integer properties that contain the indexes for the base that the building located at and workers are rallied to
        private int atBase;
        private int targetBase;
        public int AtBase
        {
            get { return atBase; }
            set { atBase = value; }
        }
        public int TargetBase
        {
            get { return targetBase; }
            set { targetBase = value; }
        }

        // No constructor

        // Method for changing the rally target
        public void RallyWorkersTo(int targetBase)
        {
            TargetBase = targetBase;
        }
    }
}
